#pragma once

#ifdef SP_PLATFORM_WINDOWS

extern Spring::Application* Spring::CreateApplication();

int main(int argc, char** argv)
{
	Spring::log::Init();
	//Spring::log::GetCoreLogger()->warn("Initialized log!");
	SP_CORE_WARN("Initialized log!");
	//Spring::log::GetClientLogger()->info("Hello!");
	int a = 5;
	SP_WARN("Hellow! Var={0}", a);
	auto app = Spring::CreateApplication();
	app->Run();
	delete app;
	return 0;
}

#else
#error Spring only support Windows!
#endif // SP_PLATFORM_WINDOWS
